Tag Link | [String->ToUpper] | Category | String |
---|---|---|---|
Type | Member | Source Available | Yes |
Support | Preferred | Version | 7.0 |
Change | Unchanged | Data Source | Any |
Output Type | None | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0 |
[String->ToUpper] modifies the base string in
[Variable: 'myString' = 'String Value']
[$myString->(ToUpper: Integer)]
[Variable: 'myString']
<?LassoScript
Variable: 'myString' = 'String Value';
$myString->(ToUpper: Integer)]
Output: $myString;
?>
Required Parameters | |
---|---|
Integer | The position of the character to change. The first letter in the base string is 1. |
To change the case of a string to upper case:
Use the [String->ToUpper] tag. The following example outputs a sample string converted to upper case.
[Variable: 'myString' = 'a quick brown fox']
[$myString->(ToUpper: 1)]
[Output: $myString]
A quick brown fox